package com.pur.zsms.matermanage.mater.service;

import java.math.BigDecimal;
import java.util.List;

import com.pur.zsms.common.exception.GenericException;
import com.pur.zsms.common.support.PageController;
import com.pur.zsms.common.support.PaginationSupport;
import com.pur.zsms.foodmanage.food.vo.FoodVo;
import com.pur.zsms.matermanage.mater.po.MaterLevelPo;
import com.pur.zsms.matermanage.mater.po.MaterPo;
import com.pur.zsms.matermanage.mater.po.UnitMaterConvertPo;
import com.pur.zsms.matermanage.mater.vo.MaterValueVo;
import com.pur.zsms.matermanage.mater.vo.MaterVo;
import com.pur.zsms.matermanage.mater.vo.ShoppingCartMaterSupplierVo;
import com.pur.zsms.matermanage.mater.vo.ShoppingCartMaterVo;
import com.pur.zsms.pmsnmanage.menu.po.MenuPo;
import com.pur.zsms.pmsnmanage.role.vo.RoleVo;
import com.pur.zsms.pmsnmanage.user.po.UserPo;
import com.pur.zsms.pmsnmanage.user.vo.UserVo;

public interface IMaterCheckService {

	String msg = "";

	public String getMsg();

	public void setMsg(String msg);

	public boolean checkMaterCost(int supId, int materId, String materValue) throws GenericException;

	public boolean checkMaterSale(int supId, int materId, String materValue) throws GenericException;

	public boolean checkMaterUnitChange(int supId, int materId) throws GenericException;

	public UnitMaterConvertPo checkHostMaterUnit(int supId, int materId) throws GenericException;

	public UnitMaterConvertPo getUnitMaterConvertPoByAuxiliaryMaterId(int supId, int auxiliaryMaterId) throws GenericException;

}
